package inscriptionConnexion;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
import application.pay_in.R;

public class ActivityPageAccueil extends Activity {

	private Button mButton1 = null;
	private Button mButton2 = null;
	
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_page_accueil);
        
        mButton1 = (Button) findViewById(R.id.button1);
        mButton1.setOnClickListener(new View.OnClickListener() {
	        @Override
	        public void onClick(View v) {
	        	Intent secondeActivite = new Intent(ActivityPageAccueil.this, Identite1.class);
	        	startActivity(secondeActivite);
	        }
        });
        mButton2 = (Button) findViewById(R.id.button2);
        mButton2.setOnClickListener(new View.OnClickListener() {
	        @Override
	        public void onClick(View v) {
	        	Intent secondeActivite = new Intent(ActivityPageAccueil.this, PageDeConnexion.class);
	        	startActivity(secondeActivite);
	        }
        });
        
        
        
    }


    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.activity_page_accueil, menu);
        return true;
    }
    
}
    